package test.persistent;

import test.WorkFlowTest;

import com.cait.framework.data.DevidePageParms;
import com.cait.framework.data.filter.FilterDefinition;
import com.cait.workflowserver.definition.activitydefiniton.Activity;
import com.cait.workflowserver.definition.processdefinition.ProcessCategory;
import com.cait.workflowserver.definition.processdefinition.ProcessHeaderCollection;
import com.cait.workflowserver.definition.transitiondefiniton.Transition;
import com.cait.workflowserver.execution.execinstance.AbstractActivityInstance;
import com.cait.workflowserver.execution.execinstance.AutomationActivityInstance;
import com.cait.workflowserver.execution.execinstance.FlowInstanceCollection;
import com.cait.workflowserver.execution.execinstance.ProccessInstanceCollection;
import com.cait.workflowserver.execution.execinstance.ProcessInstance;
import com.cait.workflowserver.execution.execinstance.TransitionInstance;
import com.cait.workflowserver.execution.execinstance.enInstanceState;
import com.cait.workflowserver.persistent.ProcessInstanceManager;
import com.cait.workflowserver.persistent.DataProvider.oracledataprovider.OracleDefinitionDataProvider;
import com.cait.workflowserver.persistent.DataProvider.oracledataprovider.OracleFlowCoreDataProvider;
import com.cait.workflowserver.runtime.Server;

public class testGetParentProc extends WorkFlowTest {
	public testGetParentProc(String arg0)
	{
		super(arg0);
		
	}
	
	public void testParent()
	{
		Server.getInstance().startService();
		com.cait.workflowserver.persistent.DataProvider.oracledataprovider.OracleDefinitionDataProvider op=new OracleDefinitionDataProvider();
		ProcessHeaderCollection pic= op.getParentProcessInfoList("c8412534-6c94-fc36-95a6-0ea3c52eab27", new   FilterDefinition());
		 System.out.println(pic.size());
	}
}
